Optimal. Leaf size=85 \[ \frac {2 \sqrt {d x} \left (a+b \tanh ^{-1}(c x)\right )}{d}+\frac {2 b \tan ^{-1}\left (\frac {\sqrt {c} \sqrt {d x}}{\sqrt {d}}\right )}{\sqrt {c} \sqrt {d}}-\frac {2 b \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {d x}}{\sqrt {d}}\right )}{\sqrt {c} \sqrt {d}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.312, Rules used = {5916, 329, 298, 205, 208} \[ \frac {2 \sqrt {d x} \left (a+b \tanh ^{-1}(c x)\right )}{d}+\frac {2 b \tan ^{-1}\left (\frac {\sqrt {c} \sqrt {d x}}{\sqrt {d}}\right )}{\sqrt {c} \sqrt {d}}-\frac {2 b \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {d x}}{\sqrt {d}}\right )}{\sqrt {c} \sqrt {d}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 208
Rule 298
Rule 329
Rule 5916
Rubi steps
\begin {align*} \int \frac {a+b \tanh ^{-1}(c x)}{\sqrt {d x}} \, dx &=\frac {2 \sqrt {d x} \left (a+b \tanh ^{-1}(c x)\right )}{d}-\frac {(2 b c) \int \frac {\sqrt {d x}}{1-c^2 x^2} \, dx}{d}\\ &=\frac {2 \sqrt {d x} \left (a+b \tanh ^{-1}(c x)\right )}{d}-\frac {(4 b c) \operatorname {Subst}\left (\int \frac {x^2}{1-\frac {c^2 x^4}{d^2}} \, dx,x,\sqrt {d x}\right )}{d^2}\\ &=\frac {2 \sqrt {d x} \left (a+b \tanh ^{-1}(c x)\right )}{d}-(2 b) \operatorname {Subst}\left (\int \frac {1}{d-c x^2} \, dx,x,\sqrt {d x}\right )+(2 b) \operatorname {Subst}\left (\int \frac {1}{d+c x^2} \, dx,x,\sqrt {d x}\right )\\ &=\frac {2 b \tan ^{-1}\left (\frac {\sqrt {c} \sqrt {d x}}{\sqrt {d}}\right )}{\sqrt {c} \sqrt {d}}+\frac {2 \sqrt {d x} \left (a+b \tanh ^{-1}(c x)\right )}{d}-\frac {2 b \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {d x}}{\sqrt {d}}\right )}{\sqrt {c} \sqrt {d}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 98, normalized size = 1.15 \[ \frac {\sqrt {x} \left (2 a \sqrt {c} \sqrt {x}+b \log \left (1-\sqrt {c} \sqrt {x}\right )-b \log \left (\sqrt {c} \sqrt {x}+1\right )+2 b \tan ^{-1}\left (\sqrt {c} \sqrt {x}\right )+2 b \sqrt {c} \sqrt {x} \tanh ^{-1}(c x)\right )}{\sqrt {c} \sqrt {d x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.55, size = 211, normalized size = 2.48 \[ \left [-\frac {2 \, \sqrt {c d} b \arctan \left (\frac {\sqrt {c d} \sqrt {d x}}{c d x}\right ) - \sqrt {c d} b \log \left (\frac {c d x - 2 \, \sqrt {c d} \sqrt {d x} + d}{c x - 1}\right ) - {\left (b c \log \left (-\frac {c x + 1}{c x - 1}\right ) + 2 \, a c\right )} \sqrt {d x}}{c d}, \frac {2 \, \sqrt {-c d} b \arctan \left (\frac {\sqrt {-c d} \sqrt {d x}}{c d x}\right ) - \sqrt {-c d} b \log \left (\frac {c d x - 2 \, \sqrt {-c d} \sqrt {d x} - d}{c x + 1}\right ) + {\left (b c \log \left (-\frac {c x + 1}{c x - 1}\right ) + 2 \, a c\right )} \sqrt {d x}}{c d}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 88, normalized size = 1.04 \[ \frac {{\left (2 \, c d {\left (\frac {\arctan \left (\frac {\sqrt {d x} c}{\sqrt {c d}}\right )}{\sqrt {c d} c} + \frac {\arctan \left (\frac {\sqrt {d x} c}{\sqrt {-c d}}\right )}{\sqrt {-c d} c}\right )} + \sqrt {d x} \log \left (-\frac {c x + 1}{c x - 1}\right )\right )} b + 2 \, \sqrt {d x} a}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 70, normalized size = 0.82 \[ \frac {2 a \sqrt {d x}}{d}+\frac {2 b \sqrt {d x}\, \arctanh \left (c x \right )}{d}+\frac {2 b \arctan \left (\frac {c \sqrt {d x}}{\sqrt {c d}}\right )}{\sqrt {c d}}-\frac {2 b \arctanh \left (\frac {c \sqrt {d x}}{\sqrt {c d}}\right )}{\sqrt {c d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 103, normalized size = 1.21 \[ \frac {{\left (2 \, \sqrt {d x} \operatorname {artanh}\left (c x\right ) + \frac {{\left (\frac {2 \, d^{2} \arctan \left (\frac {\sqrt {d x} c}{\sqrt {c d}}\right )}{\sqrt {c d} c} + \frac {d^{2} \log \left (\frac {\sqrt {d x} c - \sqrt {c d}}{\sqrt {d x} c + \sqrt {c d}}\right )}{\sqrt {c d} c}\right )} c}{d}\right )} b + 2 \, \sqrt {d x} a}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {a+b\,\mathrm {atanh}\left (c\,x\right )}{\sqrt {d\,x}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {a + b \operatorname {atanh}{\left (c x \right )}}{\sqrt {d x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________